package com.sh.rbac.domain.vo.loginLog;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

import java.util.Date;

/**
 * 登录日志导出视图
 *
 * @author wb
 * @since 2024-08-03
 */

@Data
public class LoginLogEeVO {

    @ExcelProperty(value = "序号", index = 0)
    private Long id;

    @ExcelProperty(value = "用户名称", index = 1)
    @ColumnWidth(15)
    private String username;

    @ExcelProperty(value = "登录IP", index = 2)
    @ColumnWidth(15)
    private String loginIp;

    @ExcelProperty(value = "登录地址", index = 3)
    @ColumnWidth(15)
    private String loginAddr;

    @ExcelProperty(value = "登录时间", index = 4)
    @ColumnWidth(20)
    private Date loginTime;

    @ExcelProperty(value = "登录状态", index = 5)
    @ColumnWidth(15)
    private String loginStatus;

    @ExcelProperty(value = "浏览器", index = 6)
    @ColumnWidth(20)
    private String driverName;

    @ExcelProperty(value = "操作系统", index = 7)
    @ColumnWidth(40)
    private String osName;

    @ExcelProperty(value = "描述", index = 8)
    @ColumnWidth(20)
    private String description;
}
